package com.mrobuy.jdvc.dao;

import com.mrobuy.jdvc.entity.VCProduct;
import com.mrobuy.util.Pagination;

import java.util.List;

public interface VCProductDao {

    /**
     * 列表
     */
    List<VCProduct> list();


    Pagination load(int start, int length, VCProduct condition);

    boolean insert(VCProduct vcProduct);

    VCProduct load(String id);

    void updateApplyId(String id, String productApplyId);

    void update(VCProduct product, boolean b);

    void delete(String wareId);

    VCProduct loadWareId(String wareId);
}
